package com.design.mode.factory.car;
/**
 * 工厂方法模式
 * @author Administrator
 *
 */
public class Client {
	public static void main(String[] args) {
		AudiCarFactory factory = new AudiCarFactory();
		AudiCar audiCar = factory.createAudiCar(Q3Car.class);
		audiCar.drive();

	}

}
